package com.xxl.baselib.app;

import android.app.Application;
import android.content.Context;
import android.content.res.Resources;

/**
 * Created by weiyi on 15/10/20.
 */
public class BaseApplication extends Application {
    private static Context context;
    private static Resources resources;
    private static BaseApplication application;
    public static BaseApplication getApplication() {
        return application;
    }
    @Override
    public void onCreate() {
        super.onCreate();
        context = getApplicationContext();
        resources = context.getResources();
    }

}
